package ifmo.group5512.entity;


import java.util.HashSet;
import java.util.Set;

public class ProductMaterial {

    private Integer id;

    private Set products = new HashSet();

    private Set materials = new HashSet();

    private Integer amountOfMaterialForOne;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Set getProducts() {
        return products;
    }

    public void setProducts(Set products) {
        this.products = products;
    }

    public Set getMaterials() {
        return materials;
    }

    public void setMaterials(Set materials) {
        this.materials = materials;
    }

    public Integer getAmountOfMaterialForOne() {
        return amountOfMaterialForOne;
    }

    public void setAmountOfMaterialForOne(Integer amountOfMaterialForOne) {
        this.amountOfMaterialForOne = amountOfMaterialForOne;
    }

    public ProductMaterial(){}
}
